<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
<jsp:include page="my.jsp"/>
<html>
<head>
    <title>百斯特电子商城</title>
    <script src="/layui/layui.js"></script>
    <script>
        layui.use(["form", 'layer'], function () {

        });

        function test() {
            const $ = layui.$;
            const layer = layui.layer;

            layer.open({
                type: 1,
                offset: '180px',
                title: '注册用户',
                skin: 'layui-layer-molv',
                area: ['500px'],
                content: $('#my-layer')
            });
        }
    </script>
</head>
<link href="css/style.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/layui/css/layui.css"/>
<body>
<%@include file="WEB-INF/jsp/topmenu.jsp" %>
<%@include file="WEB-INF/jsp/content.jsp" %>
<div id="footer">
    <%@include file="WEB-INF/jsp/footer.jsp" %>
</div>

<script>
    //注意：导航 依赖 element 模块，否则无法进行功能性操作
    layui.use("element", function () {
        var element = layui.element;

        //…
    });
</script>
</body>
</html>
